﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ECO.EventBus.Infrastructure
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
    public class EventHandlerAttribute : Attribute
    {
        public Type EventType { get; }

        public EventHandlerAttribute(Type eventType)
        {
            EventType = eventType;
        }
    }
}
